package com.clw.repository;

import com.clw.dataobject.PurchaseOrder;
import com.clw.dataobject.PurchaseOrderDetail;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by Administrator on 2018-03-01.
 */
public interface PurchaseOrderDetailRepository extends JpaRepository<PurchaseOrderDetail,Integer> {

    List<PurchaseOrderDetail> findAllByPurNo(String purNo);
}
